﻿@using ZBJF.Warranty.BLL
@using ZBJF.Warranty.Common.Enums.InsuranceWarranty
@model ZBJF.Warranty.Model.InsuranceWarrantyRecord
@{ var type = PageData["type"];}
<h4>@( type == "ReportInfo" ? "报案信息" : "客户地址信息")</h4>
<table class="table table-responsive table-bordered table-hover">
    <tr>
        <th class="w120">报案人：</th>
        <td class="w-p25">@Html.DisplayFor(o => o.Reporter)</td>
        <th class="w120">报案人电话：</th>
        <td class="w-p25">@Html.DisplayFor(o => o.ReporterPhone)</td>
    </tr>
    @if (type == "ReportInfo")
    {
        <tr>
            <th class="w120">对接理赔员：</th>
            <td>@Html.DisplayFor(o => o.InsuranceCompanyLossAdjusterName)</td>
            <th class="w120"></th>
            <td></td>
        </tr>
    }
    else
    {
        <tr>
            <th class="w120">报案人地址：</th>
            <td colspan="3">@Html.DisplayFor(o => o.AccidentAddress)</td>
        </tr>
    }
</table>